package com.ruicar.afs.cloud.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @Author chuke
 * @create 2020/7/15 14:59
 * 合同系统fegin调用配置
 */
@Configuration
@Data
public class ContractFeginConfig {
    @Value("${com.greatwall.services.manage.clientId}")
    private String manageClientId;
    @Value("${com.greatwall.services.manage.clientSecret}")
    private String manageClientSecret;

    @Value("${com.greatwall.services.contract-basic.clientId}")
    private String basicClientId;
    @Value("${com.greatwall.services.contract-basic.clientSecret}")
    private String basicClientSecret;

    @Value("${com.greatwall.services.finance.clientId}")
    private String financeClientId;
    @Value("${com.greatwall.services.finance.clientSecret}")
    private String financeClientSecret;

    @Value("${com.greatwall.services.account.clientId}")
    private String accountClientId;
    @Value("${com.greatwall.services.account.clientSecret}")
    private String accountClientSecret;

    @Value("${com.greatwall.services.case-service.clientId}")
    private String caseClientId;
    @Value("${com.greatwall.services.case-service.clientSecret}")
    private String caseClientSecret;

    @Value("${com.greatwall.systems.easypass.appid}")
    private String appid;

    @Value("${com.greatwall.systems.easypass.openid}")
    private String openid;

    @Value("${com.greatwall.services.apply-service.clientId}")
    private String applyClientId;
    @Value("${com.greatwall.services.apply-service.clientSecret}")
    private String applyClientSecret;
    /**
     * 渠道服务
     */
    @Value("${com.greatwall.services.channel-service.clientId}")
    private String channelClientId;
    @Value("${com.greatwall.services.channel-service.clientSecret}")
    private String channelClientSecret;
}
